import axios from './axios'

// 登录接口
export const requestLogin = (loginData) => axios.post('/app/v1_0/authorizations', loginData)

// 获取验证码
export const requestCode = phone => axios.get(`/app/v1_0/sms/codes/${phone}`)

// 获取获取用户个人资料
export const requestUserProfile = () => axios.get('/app/v1_0/user')
